package com.beehoo.dcportal.admin.dao;

import java.util.List;
import java.util.Map;

import com.beehoo.dcportal.common.base.BaseException;
import com.beehoo.dcportal.model.MenuBean;

public interface MessageTypeDao {

	/**
	 * 查询信息栏目
	 * 
	 * @param paramMap
	 * @return
	 * @throws BaseException
	 */
	public MenuBean queryMessageType(Map<String, Object> paramMap)
			throws BaseException;

	/**
	 * 查询信息栏目
	 * 
	 * @param paramMap
	 * @return
	 * @throws BaseException
	 */
	public List<MenuBean> queryMessageTypeLs(Map<String, Object> paramMap)
			throws BaseException;

	/**
	 * 创建信息栏目
	 * 
	 * @param messageTypeBean
	 * @return
	 * @throws BaseException
	 */
	public String createMessageType(MenuBean menuBean) throws BaseException;

	/**
	 * 更新信息栏目
	 * 
	 * @param messageTypeBean
	 * @return
	 * @throws BaseException
	 */
	public int updateMessageType(MenuBean menuBean) throws BaseException;

	/**
	 * 删除信息栏目
	 * 
	 * @param menuId
	 * @return
	 * @throws BaseException
	 */
	public int delMessageType(String menuId) throws BaseException;

	/**
	 * 初始化中心菜单
	 * 
	 * @param menuBean
	 * @return
	 * @throws BaseException
	 */
	public String initStreetMenu(MenuBean menuBean) throws BaseException;
	
	/**
	 * 
	 * @param paramMap
	 * @throws BaseException
	 */
	public void initStreetMenuPath(Map<String, Object> paramMap) throws BaseException;
}
